package com.cn.demo4.mapper;

import com.cn.demo4.entity.LayoutEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface LayoutMapper {
    List<LayoutEntity> findAll(LayoutEntity layoutEntity);

    int getCount(LayoutEntity layoutEntity);

    LayoutEntity findById(Integer id);

    int add(LayoutEntity layoutEntity);

    int update(LayoutEntity layoutEntity);

    int del(Integer id);

    List<LayoutEntity> getLayoutModelListForHome();
}
